/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Forms
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
table.#{$prefix}form-trigger-wrap {
	.#{$prefix}form-field {
		@include border-radius(3px 0 0 3px);
	}
	
	.#{$prefix}trigger-cell { width: 20px !important }
	
	/** Trigger style - Normal state */
	.#{$prefix}form-trigger {
		@include border-radius(0 2px 2px 0);
		@include single-transition(all, 200ms, ease-in);
		border-top: 1px solid #a6b0b7;
		border-right: 1px solid lighten(#a6b0b7, 10%);
		border-bottom: 0 none;
		background-position: 0 0;
		width: 20px; height: 23px;
		background: url("") no-repeat;
	}
	
	/** Trigger style - Hover state */
	.#{$prefix}form-trigger:hover {
		background: url("") no-repeat;
	}
	
	/** Trigger style - Active state */
	.#{$prefix}form-trigger:active {
		background: url("") no-repeat;
	}
	
}


.#{$prefix}form-trigger-wrap-focus {

	/** Trigger style - Focus state */
	.#{$prefix}form-trigger {
		//@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6));
		border-color: rgba(82, 168, 236, 0.8) !important;
		background: url("") no-repeat !important;
	}
	
	/** Trigger style - Active state */
	.#{$prefix}form-trigger:active {
		background: url("") no-repeat !important;
	}
}

/** Trigger style - Disabled state */
.#{$prefix}item-disabled .#{$prefix}form-trigger,
.#{$prefix}item-disabled .#{$prefix}form-trigger:hover,
.#{$prefix}item-disabled .#{$prefix}form-trigger:active {
	@include opacity(0.3);
	background: url("") no-repeat !important;
}